public function testIsTypeInteger() { $item = new FieldItem(); $item->typeInteger(); $this->assertTrue($item->isTypeInteger()); $item->type(null); $this->assertFalse($item->isTypeInteger()); }