public void ShouldGetDomain()
        {
            // arrange
            var provider = new FakeDomainProvider();

            // act
            provider.GetDomain("mydomain").ShouldBeEquivalentTo(new Domain("mydomain"));
        }
示例#2
0
 public void GetDomainReurnsDomainWithSameName(FakeDomainProvider sut, string domainName)
 {
     sut.GetDomain(domainName).ShouldBeEquivalentTo(new Domain(domainName));
 }