private CreateThrowsExceptionWhenNoTypeNotSupportedTest ( ) : void | ||
return | void |
public void CreateThrowsExceptionWhenNoTypeNotSupportedTest()
{
var target = new DefaultTypeCreator();
Action action = () => target.Create(typeof(Stream), null, null);
action.ShouldThrow<NotSupportedException>();
}