Exemplo n.º 1
0
 public void Calling_a_static_void_function_when_a_prototypal_object_is_not_the_last_prototype_throws()
 {
     Assert.Throws <RuntimeBinderException>(() => DynamicValue.StaticMethodWithNoReturnValueOrParameters());
 }
 public void Calling_a_static_void_function_with_no_params_defined_in_prototype_is_called()
 {
     DynamicValue.StaticMethodWithNoReturnValueOrParameters();
     Assert.True(DynamicValue.StaticMethodWithNoReturnValueOrParametersWasCalled);
 }