Closed claudiodekker closed 3 years ago
Currently, when making this mistake, no error is thrown and the test 'passes', essentially only checking that the prop is set. This PR fixes this behaviour, and throws an InvalidArgumentException when this occurs.
Currently, when making this mistake, no error is thrown and the test 'passes', essentially only checking that the prop is set. This PR fixes this behaviour, and throws an InvalidArgumentException when this occurs.