use Generic::equals instead of == to do the comparisson between actual
and expected Generics in the asserts