public void ConstructorWithAttributes_HasAttributes()
 {
     var constructor = new ConstructorInfoWrapper(typeof(PublicAttributeConstructorTestClass).GetConstructors().First());
     var SUT = new ConstructorData(constructor);
     Assert.That(SUT.AttributeData.Count > 0);
     Assert.That(SUT.AttributeData.Any(x => x.Name == typeof(TestAttributeAttribute).FullName));
 }
 public void PublicConstructorAccessLevel_IsPublic()
 {
     var constructor = new ConstructorInfoWrapper(typeof(PublicClass).GetConstructors().First());
     var SUT = new ConstructorData(constructor);
     Assert.That(SUT.AccessLevel == AccessLevelEnum.Public);
 }
 public void PrivateConstructorAccessLevel_IsPublic()
 {
     var constructor = new ConstructorInfoWrapper(typeof(PrivateAttributeConstructorTestClass).GetConstructors(BindingFlags.NonPublic|BindingFlags.Instance).First());
     var SUT = new ConstructorData(constructor);
     Assert.That(SUT.AccessLevel == AccessLevelEnum.Private);
 }