/**
 *  Copyright (C) 2016 Gary Gregory. All rights reserved.
 *
 *  See the NOTICE.txt file distributed with this work for additional
 *  information regarding copyright ownership.
 *  
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  
 *      http://www.apache.org/licenses/LICENSE-2.0
 *  
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package com.garygregory.jcommander.converters.crypto.lang;

import org.junit.Assert;
import org.junit.Test;

import com.garygregory.jcommander.converters.AbstractStringConverterBasicTest;
import com.garygregory.jcommander.converters.lang.ClassConverter;

/**
 * Tests {@link ClassConverter}.
 * 
 * @since 1.0.0
 * @author <a href="mailto:ggregory@garygregory.com">Gary Gregory</a>
 */
public class ClassConverterTest extends AbstractStringConverterBasicTest<Class> {

    public ClassConverterTest() {
        super(new ClassConverter(null));
    }

    @Test
    public void testClass() {
        Assert.assertEquals(ClassConverterTest.class, convert(ClassConverterTest.class.getName()));
    }

}

@@ -1,16 +1,15 @@
 /**
-%0D
 %0A *  Copyrig
@@ -58,13 +58,11 @@
 ved.
-%0D
 %0A *
-%0D
 %0A * 
@@ -127,17 +127,16 @@
 ditional
-%0D
 %0A *  inf
@@ -174,23 +174,21 @@
 nership.
-%0D
 %0A *  
-%0D
 %0A *  Lic
@@ -247,17 +247,16 @@
 cense%22);
-%0D
 %0A *  you
@@ -316,17 +316,16 @@
 License.
-%0D
 %0A *  You
@@ -360,23 +360,21 @@
 cense at
-%0D
 %0A *  
-%0D
 %0A *     
@@ -420,15 +420,13 @@
 -2.0
-%0D
 %0A *  
-%0D
 %0A * 
@@ -493,17 +493,16 @@
 software
-%0D
 %0A *  dis
@@ -563,17 +563,16 @@
 %22 BASIS,
-%0D
 %0A *  WIT
@@ -640,17 +640,16 @@
 implied.
-%0D
 %0A *  See
@@ -712,17 +712,16 @@
 ions and
-%0D
 %0A *  lim
@@ -751,16 +751,13 @@
 nse.
-%0D
 %0A */
-%0D%0A%0D
+%0A
 %0Apac
@@ -811,19 +811,17 @@
 to.lang;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -837,17 +837,16 @@
 .Assert;
-%0D
 %0Aimport 
@@ -860,19 +860,17 @@
 it.Test;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -940,17 +940,16 @@
 sicTest;
-%0D
 %0Aimport 
@@ -1010,16 +1010,13 @@
 ter;
-%0D%0A%0D
+%0A
 %0A/**
-%0D
 %0A * 
@@ -1048,14 +1048,12 @@
 er%7D.
-%0D
 %0A * 
-%0D
 %0A * 
@@ -1064,17 +1064,16 @@
 ce 1.0.0
-%0D
 %0A * @aut
@@ -1138,14 +1138,42 @@
 %3C/a%3E
-%0D
 %0A */
-%0D
+%0A@SuppressWarnings(%22rawtypes%22)
 %0Apub
@@ -1250,19 +1250,17 @@
 Class%3E %7B
-%0D%0A%0D
+%0A
 %0A    pub
@@ -1281,25 +1281,24 @@
 rterTest() %7B
-%0D
 %0A        sup
@@ -1326,26 +1326,23 @@
 (null));
-%0D
 %0A    %7D
-%0D%0A%0D
+%0A
 %0A    @Te
@@ -1343,17 +1343,16 @@
    @Test
-%0D
 %0A    pub
@@ -1373,17 +1373,16 @@
 lass() %7B
-%0D
 %0A       
@@ -1477,18 +1477,14 @@
 )));
-%0D
 %0A    %7D
-%0D%0A%0D
+%0A
 %0A%7D
-%0D
 %0A

Add @SuppressWarnings("rawtypes") to test.