'Tests that when no C{valueKey} is provided, C{unitKey} is used, minus
C{"Units"} at the end.'

def test_noValueKey(self):

    class FakeSentence(object, ):
        '\n                                                A    fake    sentence    that    just    has    a    "foo"    attribute.\n                                                '
        def __init__(self):
            self.foo = 1
    self.adapter.currentSentence = FakeSentence()
    self.adapter._fixUnits(unitKey='fooUnits', unit='N')
    self.assertNotEqual(self.adapter._sentenceData['foo'], 1)
