Fix PropertiesTest.

A test case was using HashTable.get instead of
Properties.getProperty.

The problem is that Properties.propertyNames will
enumerate all properties from the object as well as
from the "default" Properties object it was constructed
with. The get method derived from HashTable isn't
aware of default properties though, so it will fail.

Using composition instead of inheritance would've
resulted in a cleaner design.

Change-Id: I58323767e6872ed1722167d2a4a6d89a98d26ec7
1 file changed