public void convert_simple_types_2() { var resolver = new ConvertibleValueDependencyResolver(); resolver.Resolve(typeof (bool), null, "true").ShouldEqual(true); }
public void return_null_for_a_plugin_type_that_the_type_converter_cannot_handle() { var resolver = new ConvertibleValueDependencyResolver(); resolver.Resolve(GetType(), null, "something").ShouldBeNull(); }
public void convert_simple_types() { var resolver = new ConvertibleValueDependencyResolver(); resolver.Resolve(typeof (int), null, "34").ShouldEqual(34); }