public void Inheritence() { var fakeRepository = A.Fake <IRepository <Domain.Platform.Entities.Platform> >(); var fakeRepositoryAggregate = A.Fake <IRepositoryAggregate>(); var platformRequestAggregate = new PlatformRequestAggregate(fakeRepository, fakeRepositoryAggregate); platformRequestAggregate.Should().NotBeNull(); platformRequestAggregate.Should().BeAssignableTo <IPlatformRequestAggregate>(); platformRequestAggregate.Should().BeAssignableTo <BaseRequestAggregate <Domain.Platform.Entities.Platform> >(); platformRequestAggregate.Should().BeOfType <PlatformRequestAggregate>(); }
public void TestCleanup() { ClearFakes(); requestAggregate = null; }
public void TestInitailize() { InitializeFakes(); requestAggregate = new PlatformRequestAggregate(FakeRepository, FakeRepositoryAggregate); }