'Test new interface that receives backend and timestamp.'

@mock.patch('cinder.scheduler.driver.Scheduler.notify_service_capabilities')
def test_notify_service_capabilities_timestamp(self, _mock_notify_cap):

    service = 'volume'
    backend = 'fake_cluster'
    capabilities = {'fake_capability': 'fake_value'}
    timestamp = '1970-01-01T00:00:00.000000'
    self.manager.notify_service_capabilities(self.context, service_name=service, backend=backend, capabilities=capabilities, timestamp=timestamp)
    _mock_notify_cap.assert_called_once_with(service, backend, capabilities, datetime(1970, 1, 1))
