public void finds_the_missing_services()
        {
            var plugin = new MissingService(typeof(object));
            theConfiguration.RegisterError(plugin);

            theConfiguration.MissingServices.ShouldHaveTheSameElementsAs(plugin);
        }
Esempio n. 2
0
 public bool Equals(MissingService other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other._serviceType, _serviceType));
 }
Esempio n. 3
0
 public bool Equals(MissingService other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other._serviceType, _serviceType);
 }