public void ReturnsDomains() { IApiFulfillment impl = new FulfilmentImpl(new GameDataStub()); List <Domain> actual = impl.AllDomains(); Assert.NotNull(actual); Assert.NotEmpty(actual); }
public void DomainsArePopulated() { IApiFulfillment impl = new FulfilmentImpl(new GameDataStub()); List <Domain> actual = impl.AllDomains(); Domain aDomain = actual[0]; Assert.NotNull(aDomain.Id); Assert.NotNull(aDomain.Name); Assert.NotNull(aDomain.Description); }