@Test public void testGetArguments() { final List<SubroutineArgumentDeclaration> arguments = declaration.getArguments(); assertThat(arguments.get(0)).isEqualTo(arg1); assertThat(arguments.get(1)).isEqualTo(arg2); }
public List<SubroutineArgumentDeclaration> getArguments() { return Collections.unmodifiableList(arguments); }
SubroutineDeclaration { public List<SubroutineArgumentDeclaration> getArguments() { return Collections.unmodifiableList(arguments); } }
SubroutineDeclaration { public List<SubroutineArgumentDeclaration> getArguments() { return Collections.unmodifiableList(arguments); } SubroutineDeclaration(final String name, final DataTyped returnType,
            final List<SubroutineArgumentDeclaration> arguments); }
SubroutineDeclaration { public List<SubroutineArgumentDeclaration> getArguments() { return Collections.unmodifiableList(arguments); } SubroutineDeclaration(final String name, final DataTyped returnType,
            final List<SubroutineArgumentDeclaration> arguments); List<SubroutineArgumentDeclaration> getArguments(); String getName(); DataTyped getReturnType(); @Override String toString(); }
SubroutineDeclaration { public List<SubroutineArgumentDeclaration> getArguments() { return Collections.unmodifiableList(arguments); } SubroutineDeclaration(final String name, final DataTyped returnType,
            final List<SubroutineArgumentDeclaration> arguments); List<SubroutineArgumentDeclaration> getArguments(); String getName(); DataTyped getReturnType(); @Override String toString();  }