Initial commit
This commit is contained in:
12
tests/unit/stubs/ScriptStub.ts
Normal file
12
tests/unit/stubs/ScriptStub.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { BaseEntity } from '@/infrastructure/Entity/BaseEntity';
|
||||
import { IScript } from './../../../src/domain/IScript';
|
||||
|
||||
export class ScriptStub extends BaseEntity<string> implements IScript {
|
||||
public readonly name = `name${this.id}`;
|
||||
public readonly code = `name${this.id}`;
|
||||
public readonly documentationUrls = new Array<string>();
|
||||
|
||||
constructor(public readonly id: string) {
|
||||
super(id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user