// Path: src/main/java/org/weakref/jmx/ObjectNames.java
// public static String generatedNameOf(Class<?> clazz)
// {
//     return builder(clazz).build();
// }


import com.google.inject.name.Names;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import static org.weakref.jmx.ObjectNames.generatedNameOf;
package org.weakref.jmx;




public class TestObjectNames {

  @interface Ann {}
  
  static class AnnImpl implements Ann {
    @Override
    public Class<? extends Annotation> annotationType() {
      return Ann.class;
    }  
  }
  
  static class Inner {}
  
  @Test
  public void testGeneratedNameOf1() {
    assertEquals(
// Path: src/main/java/org/weakref/jmx/ObjectNames.java
// public static String generatedNameOf(Class<?> clazz)
// {
//     return builder(clazz).build();
// }


// Path: src/test/java/org/weakref/jmx/TestObjectNames.java
import com.google.inject.name.Names;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import static org.weakref.jmx.ObjectNames.generatedNameOf;

package org.weakref.jmx;




public class TestObjectNames {

  @interface Ann {}
  
  static class AnnImpl implements Ann {
    @Override
    public Class<? extends Annotation> annotationType() {
      return Ann.class;
    }  
  }
  
  static class Inner {}
  
  @Test
  public void testGeneratedNameOf1() {
    assertEquals(
        generatedNameOf(SimpleObject.class), 