public CreateSpriteAssetCommandFactory(ICreateSpriteAssetService createSpriteAssetService) { _createSpriteAssetService = createSpriteAssetService; }
public void SetUp() { _createSpriteAssetService = Substitute.For <ICreateSpriteAssetService>(); _projectFile = Substitute.For <IProjectFile>(); _command = new CreateSpriteAssetCommand(_createSpriteAssetService, _projectFile); }
public CreateSpriteAssetCommand(ICreateSpriteAssetService createSpriteAssetService, IProjectFile textureFile) { _createSpriteAssetService = createSpriteAssetService; _textureFile = textureFile; }