DataProviderFrameworkMethod extends FrameworkMethod { public DataProviderFrameworkMethod(Method method, int idx, Object[] parameters, String nameFormat) { this(method, idx, parameters, nameFormat, null); } DataProviderFrameworkMethod(Method method, int idx, Object[] parameters, String nameFormat);  DataProviderFrameworkMethod(Method method, int idx, Object[] parameters,
            String nameFormat, Class<? extends DataProviderTestNameFormatter> nameFormatter); @Override String getName(); @Override Object invokeExplosively(Object target, Object... params); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testDataProviderFrameworkMethod() { final int idx = 10; final Object[] parameters = new Object[] { null, "1", 2L }; final String nameFormat = "%cm"; DataProviderFrameworkMethod underTest = new DataProviderFrameworkMethod(method, idx, parameters, nameFormat); assertThat(underTest).isNotNull(); assertThat(underTest.getMethod()).isEqualTo(method); assertThat(underTest.idx).isEqualTo(idx); assertThat(underTest.parameters).isEqualTo(parameters); assertThat(underTest.nameFormat).isEqualTo(nameFormat); }