### Question:
Burst { public static String friendlyName(Enum<?>[] arguments) { return friendlyName(arguments, new Annotation[0][0]); } private  Burst(); static Enum<?>[][] explodeArguments(TestConstructor constructor); static Enum<?>[][] explodeArguments(Method method); static String friendlyName(Enum<?>[] arguments); static String friendlyName(Enum<?>[] arguments, Annotation[][] argumentAnnotations);  }### Answer:
@Test public void noArguments() { String actual = Burst.friendlyName(new Enum<?>[0]); assertThat(actual).isEqualTo(""); }
@Test public void singleArgument() { String actual = Burst.friendlyName(new Enum<?>[] { First.APPLE }); assertThat(actual).isEqualTo("APPLE"); }
@Test public void multipleArguments() { String actual = Burst.friendlyName(new Enum<?>[] { First.APPLE, Second.EAGLE, Third.ITALY }); assertThat(actual).isEqualTo("APPLE, EAGLE, ITALY"); }
@Test public void singleArgument_named() { String actual = Burst.friendlyName(new Enum<?>[] { First.APPLE }, new Annotation[][] { {TestUtil.createName("Fruit")} }); assertThat(actual).isEqualTo("Fruit=APPLE"); }
@Test public void multipleArguments_named() { String actual = Burst.friendlyName(new Enum<?>[] { First.APPLE, Second.EAGLE, Third.ITALY }, new Annotation[][] { {TestUtil.createName("Fruit")}, {TestUtil.createName("Bird")}, {TestUtil.createName("Country")} }); assertThat(actual).isEqualTo("Fruit=APPLE, Bird=EAGLE, Country=ITALY"); }
@Test public void multipleArguments_multipleAnnotations_named() { String actual = Burst.friendlyName(new Enum<?>[] { First.APPLE, Second.EAGLE, Third.ITALY }, new Annotation[][] { {TestUtil.createFake(), TestUtil.createName("Fruit")}, {TestUtil.createFake(), TestUtil.createName("Bird")}, {TestUtil.createName("Country"), TestUtil.createFake()} }); assertThat(actual).isEqualTo("Fruit=APPLE, Bird=EAGLE, Country=ITALY"); }