Beispiel #1
0
 private void AssumeDeleteCommandIsInitialised()
 {
     DeleteCommand = Substitute.For <IDeleteCommand <TestEntity> >();
     CommandFactory.CreateDelete <TestEntity>()
     .Returns(DeleteCommand);
     DeleteCommand.For(Entity)
     .Returns(DeleteCommand);
 }