public void ShouldGetDomain() { // arrange var provider = new FakeDomainProvider(); // act provider.GetDomain("mydomain").ShouldBeEquivalentTo(new Domain("mydomain")); }
public void GetDomainReurnsDomainWithSameName(FakeDomainProvider sut, string domainName) { sut.GetDomain(domainName).ShouldBeEquivalentTo(new Domain(domainName)); }