//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @SafeVarargs private final <T> void shouldOverride(System.Func<T,org.neo4j.unsafe.impl.batchimport.input.csv.Configuration> configFactory, System.Func<org.neo4j.unsafe.impl.batchimport.input.csv.Configuration,T> getter, T... values) private void ShouldOverride <T>(System.Func <T, Configuration> configFactory, System.Func <Configuration, T> getter, params T[] values) { foreach (T value in values) { // given Configuration configuration = configFactory(value); WrappedCsvInputConfigurationForNeo4jAdmin vanilla = new WrappedCsvInputConfigurationForNeo4jAdmin(COMMAS); // when WrappedCsvInputConfigurationForNeo4jAdmin wrapped = new WrappedCsvInputConfigurationForNeo4jAdmin(configuration); // then assertEquals(getter(vanilla), getter(wrapped)); } }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @SafeVarargs private final <T> void shouldDelegate(System.Func<T,org.neo4j.unsafe.impl.batchimport.input.csv.Configuration> configFactory, System.Func<org.neo4j.unsafe.impl.batchimport.input.csv.Configuration,T> getter, T... expectedValues) private void ShouldDelegate <T>(System.Func <T, Configuration> configFactory, System.Func <Configuration, T> getter, params T[] expectedValues) { foreach (T expectedValue in expectedValues) { // given Configuration configuration = configFactory(expectedValue); // when WrappedCsvInputConfigurationForNeo4jAdmin wrapped = new WrappedCsvInputConfigurationForNeo4jAdmin(configuration); // then assertEquals(expectedValue, getter(wrapped)); } // then assertEquals(getter(COMMAS), getter(new WrappedCsvInputConfigurationForNeo4jAdmin(COMMAS))); }
public WrappedCsvInputConfigurationForNeo4jAdmin(Configuration defaults) : base(defaults) { }
public Configuration_OverriddenAnonymousInnerClass([email protected] actual) : base(actual) { }
private static [email protected] LowBufferSize([email protected] actual) { return(new Configuration_OverriddenAnonymousInnerClass(actual)); }
public static Input Csv(File nodes, File relationships, IdType idType, [email protected] configuration, Collector badCollector) { return(new CsvInput(datas(data(NO_DECORATOR, defaultCharset(), nodes)), defaultFormatNodeFileHeader(_testDefaultTimeZone), datas(data(NO_DECORATOR, defaultCharset(), relationships)), defaultFormatRelationshipFileHeader(_testDefaultTimeZone), idType, configuration, badCollector, CsvInput.NoMonitor)); }