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));
 }