public function testIntervalAccessor() { $this->assertNull($this->instance->getInterval()); $this->assertSame($this->instance, $this->instance->setInterval('10')); $this->assertSame(10000, $this->instance->getInterval()); $this->setExpectedException(LogicException::class); $this->instance->setInterval('not a valid number'); }