public function testFormulateNoPath()
{
$path = $this->_testPath . '/library_test_no_plugin';
umask(0);
mkdir($path, 655);
umask(100);
$this->expectException('/Permission denied/');
$result = $this->library->formulate($path);
$this->assertFalse($result);
$result = file_exists($path . '/config/library_test_plugin.json');
$this->assertFalse($result);
$expected = '/Formula for library_test_no_plugin not created/';
$result = $this->library->response->error;
$this->assertPattern($expected, $result);
umask(0);
rmdir($path);
}