function testNoThumbnail() { $pid = $this->factory->post->create(); $post = new TimberPost($pid); $str = Timber::compile_string('Image?{{post.thumbnail.src}}', array('post' => $post)); $this->assertEquals('Image?', $str); }