Exemplo n.º 1
0
 public void ThrowsArgumentExceptionForInvalidPropertyName()
 {
     ExceptionTester.CallMethodAndExpectException <ArgumentException>(() => _propertyBag.IsAvailable(null));
     ExceptionTester.CallMethodAndExpectException <ArgumentException>(() => _propertyBag.IsAvailable(string.Empty));
 }