コード例 #1
0
 public void Trying_to_mock_null_instance_should_fail_with_descriptive_error_message()
 {
     Assert.Throws <ArgumentNullException>(
         () => RepositoryExtensions.Expect <object>(null, x => x.ToString()));
 }