public function testBuildDeleteIndex() { $blueprint = new Blueprint('index'); $blueprint->delete(); $connection = Mockery::mock('Tamayo\\Stretchy\\Connection'); $connection->shouldReceive('indexDelete')->once(); $grammar = Mockery::mock('Tamayo\\Stretchy\\Index\\Grammar'); $grammar->shouldReceive('compileIndexDelete')->once(); $blueprint->build($connection, $grammar); }