def METHOD_NAME(self):
    """raise NonNumericPortError"""
    with pytest.raises(Exception) as excinfo:
        with patch.object(ServiceRegistry._logger, 'info') as log_info:
            ServiceRegistry.register("B name", "Storage", "127.0.0.1", "s01", 1234, 'http')
            assert 1 == len(ServiceRegistry._registry)
        assert 0 == log_info.call_count
    assert excinfo.type is NonNumericPortError