public void Inheritence() { var request = new GetAllGamesRequestAsync(FakeRepositoryAsync, FakeRepositoryAsyncAggregate); request.Should().NotBeNull(); request.Should().BeAssignableTo <IGetAllGamesRequestAsync>(); request.Should().BeAssignableTo <BaseServiceRequestAsync <Game> >(); request.Should().BeOfType <GetAllGamesRequestAsync>(); }
public void TestCleanup() { ClearFakes(); request = null; getAll = null; }
public void TestInitialize() { InitializeFakes(); request = new GetAllGamesRequestAsync(FakeRepositoryAsync, FakeRepositoryAsyncAggregate); getAll = () => FakeRepositoryAsync.GetAllAsync(); }