import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.opendaylight.yangtools.yang.model.util.type.BaseTypes.binaryType;
+
import java.util.Collections;
import org.junit.Test;
import org.opendaylight.yangtools.yang.model.api.Status;
@Test
public void canCreateBinaryType() {
- BinaryTypeDefinition binType = binaryType();
- BinaryTypeDefinition binType1 = binaryType();
+ final BinaryTypeDefinition binType = binaryType();
+ final BinaryTypeDefinition binType1 = binaryType();
assertEquals(0, binType.getLengthConstraints().size());
assertNull(binType.getDefaultValue());
assertFalse("binType shouldn't equal to object of other type", binType.equals("str"));
}
-}
\ No newline at end of file
+}