/** * @expectedException \Exception * @expectedExceptionMessage Unsupported segment type stdClass */ public function testUnknownStatement() { $assembler = new QueryAssembler(new UnknownStatement()); $assembler->assemble(); }