def test_resolvable(self):
    resolvable_age = CountingResolvable('//:meaning-of-life', 42)
    person = self.Person(resolvable_age)
    self.assertEqual(0, resolvable_age.resolutions)
    self.assertEqual(42, person.age)
    self.assertEqual(1, resolvable_age.resolutions)
    self.assertEqual(42, person.age)
    self.assertEqual(2, resolvable_age.resolutions)
def test_resolvable(self):
    resolvable_age = CountingResolvable('//:meaning-of-life', 42)
    person = self.Person(resolvable_age)
    self.assertEqual(0, resolvable_age.resolutions)
    self.assertEqual(42, person.age)
    self.assertEqual(1, resolvable_age.resolutions)
    self.assertEqual(42, person.age)
    self.assertEqual(2, resolvable_age.resolutions)