private void AssertOnTypeHasImplementededInterface(Type type, Type implementedInterface)
 {
     Assert.True(ReflectionHelper.HasImplementedInterface(type, implementedInterface));
 }
示例#2
0
 private void AssertOnHavingMethod(Type classType, string methodName, Type returnType, IList <Type> @params)
 {
     Assert.True(ReflectionHelper.HasMethod(classType, methodName, returnType, @params));
 }
示例#3
0
 private void AssertOnHavingCtorWithSpecifiedArgs(Type classType, params Type[] ctorTypes)
 {
     Assert.True(ReflectionHelper.HasCtorWithSpecifiedParamsType(classType, ctorTypes));
 }
示例#4
0
 private void AssertInstaciatedObjectHavingSpecifiedFieldValues(Type classType, Dictionary <string, object> fieldValues)
 {
     Assert.True(ReflectionHelper.InstanciatedObjectHasSpecifiedFieldValues(classType, fieldValues));
 }
示例#5
0
 private void AssertMethodHasAttributes(Type classType, string methodName, IDictionary <Type, IDictionary <string, object> > propValuesMapping)
 {
     Assert.True(ReflectionHelper.MethodHasAttributes(classType, methodName, propValuesMapping));
 }
示例#6
0
 private void AssertOnHavingMethodWithParamNames(Type classType, string methodName, Type returnType, Dictionary <Type, string> @params, IDictionary <Type, IDictionary <string, object> > propValuesMapping)
 {
     Assert.True(ReflectionHelper.HasMethod(classType, methodName, returnType, @params));
 }