@Test
public void testNameField() {

  final JBBPFieldBit field = new JBBPFieldBit(new JBBPNamedFieldInfo("test.field", "field", 123), 123, JBBPBitNumber.BITS_4);
  final JBBPNamedFieldInfo namedField = field.getNameInfo();
  assertEquals("test.field", namedField.getFieldPath());
  assertEquals("field", namedField.getFieldName());
  assertEquals(123, namedField.getFieldOffsetInCompiledBlock());
  assertEquals(JBBPBitNumber.BITS_4, field.getBitWidth());
}