Example #1
0
 public function test_returns_type()
 {
     $this->columnMock->shouldReceive('getType')->andReturn($this->mock('Doctrine\\DBAL\\Types\\Type'));
     $type = $this->sut->type();
     $this->assertInstanceOf('Doctrine\\DBAL\\Types\\Type', $type);
 }