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