public function setWith($class)
{
throw new exceptions\logic\badMethodCall('Unable to call method ' . __METHOD__ . '()');
}
public function testSetWith() { $this->if($asserter = new asserters\testedClass(new asserter\generator()))->then->exception(function () use($asserter) { $asserter->setWith(uniqid()); })->isInstanceOf('mageekguy\\atoum\\exceptions\\logic\\badMethodCall')->hasMessage('Unable to call method ' . get_class($asserter) . '::setWith()'); }