def METHOD_NAME(
    self, mock_logger
):
    service = ServiceFactory(active=True)
    service_env = ServiceEnvironmentFactory(
        service=service, environment__name='prod'
    )
    DataCenterAssetFactory(service_env=service_env)
    data = {
        'uid': service.uid,
        'name': 'New name',
        'status': 'Active',
        'isActive': False,
        'environments': ['dev'],
        'businessOwners': [{'username': 'business_user3'}],
        'technicalOwners': [{'username': 'technical_user3'}]
    }
    response = self._make_request(
        data, settings.HERMES_SERVICE_TOPICS['UPDATE']
    )
    self.assertEqual(response.status_code, 204)
    service.refresh_from_db()
    mock_logger.error.assert_called_with(
        'Can not delete service environment - it has assigned some base objects',  # noqa: E501
        extra={
            'action_type': ACTION_TYPE,
            'service_uid': service.uid,
            'service_name': service.name
        }
    )
    service.refresh_from_db()
    self.assertTrue(service.active)