fixing notToBeWithCase expectation