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

      // act
      provider.GetDomain("mydomain").ShouldBeEquivalentTo(new Domain("mydomain"));
    }
 public void RemoveDomainsThrowsNotImplemented(FakeDomainProvider sut, string domainName)
 {
   Assert.Throws<NotImplementedException>(() => sut.RemoveDomain(domainName));
 }
 public void GetDomainsThrowsNotImplemented(FakeDomainProvider sut)
 {
   Assert.Throws<NotImplementedException>(() => sut.GetDomains());
 }
 public void GetDomainReurnsDomainWithSameName(FakeDomainProvider sut, string domainName)
 {
   sut.GetDomain(domainName).ShouldBeEquivalentTo(new Domain(domainName));
 }
 public void AddDomainThrowsNotImplemented(FakeDomainProvider sut, string domainName, bool locallyManaged)
 {
   Assert.Throws<NotImplementedException>(() => sut.AddDomain(domainName, locallyManaged));
 }