function testInvalidEmptyMode() { $check = new String_(); $this->setExpectedException(\InvalidArgumentException::class); $check->setEmptyMode('nope'); }