Closed bbatsche closed 6 years ago
Ok, consolidate some of our functionality with a state injection, like the following:
verify($test)->is->true(); verify($test)->isNot->false();
Is this any easier to read? I don't know, maybe? Does it help consolidate all the different methods and calls? Probably.
Possible injections:
Will have to make alias functions for singular and plurals though. Or we could go completely overboard?
expect($test)->will->not->be->true(); verify($test)->does->not->match->regExp('/\w+/');
No. I don't like that. It's absurd. Maybe a middle ground between the two?
Nevermind, new set:
is
will
does
has
isNot
willNot
doesNot
be
have
Ok, consolidate some of our functionality with a state injection, like the following:
Is this any easier to read? I don't know, maybe? Does it help consolidate all the different methods and calls? Probably.
Possible injections:
Will have to make alias functions for singular and plurals though. Or we could go completely overboard?
No. I don't like that. It's absurd. Maybe a middle ground between the two?