#541 fix checkstyle errors

This commit is contained in:
SrdjanPaunovic
2017-05-03 22:08:04 +02:00
parent 0687a3f9f8
commit 08c4202852
12 changed files with 16 additions and 23 deletions
@@ -1,10 +1,9 @@
package units;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
/**
* Created by Srdjan on 03-May-17.
@@ -15,11 +14,11 @@ public class UnitTest {
public void testConstGetSet() throws Exception {
final String name = "testName";
final Unit unit = new Unit(name);
assertEquals(name,unit.getName());
assertEquals(name, unit.getName());
final String newName = "newName";
unit.setName(newName);
assertEquals(newName,unit.getName());
assertEquals(newName, unit.getName());
assertNull(unit.getUnitExtension(""));