/** * @test */ public function it_adds_a_binary_map() { $blueprint = new Blueprint('post'); $blueprint->create(); $blueprint->binary('binary')->store(true)->doc_values('foo'); $statement = $blueprint->toDSL($this->getGrammar()); $this->assertEquals(['binary' => ['type' => 'binary', 'store' => true, 'doc_values' => 'foo']], $statement); }