public function testAppendPrependAndSetThrowExceptionsWhenNonStyleValueProvided() { try { $this->helper->append('foo'); $this->fail('Non-style value should not append'); } catch (View\Exception\ExceptionInterface $e) { } try { $this->helper->offsetSet(5, 'foo'); $this->fail('Non-style value should not offsetSet'); } catch (View\Exception\ExceptionInterface $e) { } try { $this->helper->prepend('foo'); $this->fail('Non-style value should not prepend'); } catch (View\Exception\ExceptionInterface $e) { } try { $this->helper->set('foo'); $this->fail('Non-style value should not set'); } catch (View\Exception\ExceptionInterface $e) { } }