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

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