Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.helger.jcodemodel.tests.util;
 
 import org.junit.Test;
 

Author(s):
Ben Fagin
Version:
2013-04-01
public class NameUtilitiesTest
  public static class Inner
  {}
  @Test
  public void testInnerClassNaming ()
  {
    final String expected = NameUtilitiesTest.class.getPackage ().getName () +
                            "." +
                            NameUtilitiesTest.class.getSimpleName () +
                            "." +
                            "Inner";
    final String name = NameUtilities.getFullName (Inner.class);
    Assert.assertEquals (expectedname);
  }
New to GrepCode? Check out our FAQ X