Accidental Java 7 dependency in test.