public function testTemplate() { $post = new Post(); $template = new Template(); $expected = $template; $post->setTemplate($template); $actual = $post->getTemplate(); $this->assertSame($expected, $actual); }
public function testSchema() { $post = new Post(); $schema = new Schema(); $expected = $schema; $post->setSchema($schema); $actual = $post->getSchema(); $this->assertSame($expected, $actual); }