### Question:
Arguments { public Arguments(String dotPath, List<Argument> arguments) { this.arguments = Collections.unmodifiableList(arguments); this.dotPath = dotPath; } Arguments(String dotPath, List<Argument> arguments);  Arguments(String dotPath, Argument... arguments); String getDotPath(); List<Argument> getArguments(); @Override String toString();  }### Answer:
@Test public void argumentsTest() { Arguments arguments = new Arguments("somePath", new Argument<String>("someKey", "someValue")); assertEquals("somePath", arguments.getDotPath()); assertEquals("Arguments{dotPath='somePath', arguments=[Argument{key='someKey', value=someValue, optional=false}]}", arguments.toString()); }