public void returns_input_type_name_if_first_call_is_not_null() { var chain = new BehaviorChain(); var type = typeof(ControllerTarget); chain.AddToEnd(new ActionCall(type, type.GetMethod("OneInOneOut"))); chain.GetInputTypeName().ShouldEqual("Model1"); }
public void returns_input_type_name_if_first_call_is_not_null() { var chain = new BehaviorChain(); var type = typeof (ControllerTarget); chain.AddToEnd(new ActionCall(type, type.GetMethod("OneInOneOut"))); chain.GetInputTypeName().ShouldEqual("Model1"); }
public void input_type_name_return_empty_if_first_call_is_null() { var chain = new BehaviorChain(); chain.GetInputTypeName().ShouldEqual(""); }