// Path: SpongePowered/MyFirstSpongePlugIn/src/main/java/ch/vorburger/minecraft/command/AnnotatedCommandManager.java
// protected static class MethodArg {
// 	String name;
// 	Type type;
// 	boolean optional = false;
// 	boolean vararg = false;
// }


import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Optional;
import org.junit.Ignore;
import org.junit.Test;
import org.spongepowered.api.command.CommandSource;
import ch.vorburger.minecraft.command.AnnotatedCommandManager.MethodArg;
package ch.vorburger.minecraft.command;





@Ignore
public class CommandManagerTest {

	@Command void test(CommandSource commandSource, Optional<String> name, int n, String commandToRepeat) { };

	@Test public void getCommandElements() throws Exception {
		Method method = this.getClass().getDeclaredMethod("test", CommandSource.class, Optional.class, Integer.TYPE, String.class);
// Path: SpongePowered/MyFirstSpongePlugIn/src/main/java/ch/vorburger/minecraft/command/AnnotatedCommandManager.java
// protected static class MethodArg {
// 	String name;
// 	Type type;
// 	boolean optional = false;
// 	boolean vararg = false;
// }


// Path: SpongePowered/MyFirstSpongePlugIn/src/test/java/ch/vorburger/minecraft/command/CommandManagerTest.java
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Optional;
import org.junit.Ignore;
import org.junit.Test;
import org.spongepowered.api.command.CommandSource;
import ch.vorburger.minecraft.command.AnnotatedCommandManager.MethodArg;

package ch.vorburger.minecraft.command;





@Ignore
public class CommandManagerTest {

	@Command void test(CommandSource commandSource, Optional<String> name, int n, String commandToRepeat) { };

	@Test public void getCommandElements() throws Exception {
		Method method = this.getClass().getDeclaredMethod("test", CommandSource.class, Optional.class, Integer.TYPE, String.class);
		List<MethodArg> methodArgs = new AnnotatedCommandManager().getMethodArgs(method);