private void AssertOnTypeHasImplementededInterface(Type type, Type implementedInterface)
 {
     Assert.True(ReflectionHelper.HasImplementedInterface(type, implementedInterface));
 }
Ejemplo n.º 2
0
 private void AssertOnHavingMethod(Type classType, string methodName, Type returnType, IList <Type> @params)
 {
     Assert.True(ReflectionHelper.HasMethod(classType, methodName, returnType, @params));
 }
Ejemplo n.º 3
0
 private void AssertOnHavingCtorWithSpecifiedArgs(Type classType, params Type[] ctorTypes)
 {
     Assert.True(ReflectionHelper.HasCtorWithSpecifiedParamsType(classType, ctorTypes));
 }
Ejemplo n.º 4
0
 private void AssertInstaciatedObjectHavingSpecifiedFieldValues(Type classType, Dictionary <string, object> fieldValues)
 {
     Assert.True(ReflectionHelper.InstanciatedObjectHasSpecifiedFieldValues(classType, fieldValues));
 }
Ejemplo n.º 5
0
 private void AssertMethodHasAttributes(Type classType, string methodName, IDictionary <Type, IDictionary <string, object> > propValuesMapping)
 {
     Assert.True(ReflectionHelper.MethodHasAttributes(classType, methodName, propValuesMapping));
 }
Ejemplo n.º 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));
 }