title: Suppress Compiler Warnings in JUnit Tests
body: <p>When testing public constructor calls the JUnit tests in my application produce temporary objects that are never used anywhere within the test methods. The compiler subsequently complains about unused object allocation. Is there a way to suppress compiler warnings selectively for all JUnit tests? The tests are in a separate package.</p>