/** * @test * @expectedException \BadMethodCallException */ public function it_throws_an_error_when_file_not_exist() { $file = VueAssembler::filenotexist()->currentFile(); }