@Test
public void testHashCodeShouldBeEqualForEqualObjects() {

    // Given:
    final Object[] params1 = new Object[] { 4.2, 't', false };
    final Object[] params2 = new Object[] { 4.2, 't', false };
    DataProviderFrameworkMethod m1 = new DataProviderFrameworkMethod(method, 90, params1, "%p[90]");
    DataProviderFrameworkMethod m2 = new DataProviderFrameworkMethod(method, 90, params2, "%p[90]");
    // When:
    int result = m1.hashCode();
    // Then:
    assertThat(result).isEqualTo(m2.hashCode());
}