Could use a test for the negative case when specifying an incorrect family, something like this will work:

```php
public function testSetInvalidIPFamily()
{
  $this->expectException();
  $this->transport()->setIpFamily('Food goes in here');
}
```