def METHOD_NAME(self):
    mock_args = mock.MagicMock()
    expected_fields = (
        "name",
        "engine",
        "endpoint",
        "public_endpoint",
        "apikey",
        "username",
        "password",
    )
    ret = SpatialDatasetServiceForm(mock_args)
    self.assertEqual(SpatialDatasetService, ret.Meta.model)
    self.assertEqual(expected_fields, ret.Meta.fields)
    self.assertTrue("password" in ret.Meta.widgets)
    self.assertEqual(self.expected_labels, ret.Meta.labels)