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