'``FakeDockerClient._units`` can be supplied in the constructor.'

def test_units_override(self):

    units = {u'foo': Unit(name=u'foo', container_name=u'foo', activation_state=u'active', container_image=u'flocker/flocker:v1.0.0')}
    self.assertEqual(units, FakeDockerClient(units=units)._units)
