@Test
public void testThat12Returns2And2And3() {

    PrimeFactors factors = new PrimeFactors();
    List<Integer> result = factors.getFactorsOf(12);
    assertThat(result).isEqualTo(Arrays.asList(2, 2, 3));
}