@Test public void should_produce_proper_file_extension_based_on_format() throws Exception { ExpectedDataSetFileNamingStrategy defaultFileNamingStrategy = new ExpectedDataSetFileNamingStrategy(Format.XML); String fileExtension = defaultFileNamingStrategy.getFileExtension(); assertThat(fileExtension).isEqualTo("xml"); }
@Override public String getFileExtension() { return dataSetFileNamingStrategy.getFileExtension(); }
ExpectedDataSetFileNamingStrategy extends FileNamingStrategy<Format> { @Override public String getFileExtension() { return dataSetFileNamingStrategy.getFileExtension(); } }
ExpectedDataSetFileNamingStrategy extends FileNamingStrategy<Format> { @Override public String getFileExtension() { return dataSetFileNamingStrategy.getFileExtension(); } ExpectedDataSetFileNamingStrategy(Format format); }
ExpectedDataSetFileNamingStrategy extends FileNamingStrategy<Format> { @Override public String getFileExtension() { return dataSetFileNamingStrategy.getFileExtension(); } ExpectedDataSetFileNamingStrategy(Format format); @Override String createFileName(Class<?> testClass, Method testMethod); @Override String createFileName(Class<?> testClass); @Override String getFileExtension(); }
ExpectedDataSetFileNamingStrategy extends FileNamingStrategy<Format> { @Override public String getFileExtension() { return dataSetFileNamingStrategy.getFileExtension(); } ExpectedDataSetFileNamingStrategy(Format format); @Override String createFileName(Class<?> testClass, Method testMethod); @Override String createFileName(Class<?> testClass); @Override String getFileExtension();  }