/** * Test provide InvalidArgumentException thrown as exception * * @expectedException InvalidArgumentException */ public function testIAException() { $this->bread->append(false, 'left', true); $this->bread->append(null); $this->bread->append('nasdal', true, 'asds'); $this->bread->from(2323); $this->bread->from(array()); }