### Question:
Base64BinaryType extends PrimitiveType<byte[]> implements IPrimitiveType<byte[]>, IBaseHasExtensions, IElement, Externalizable { @Override public byte[] getValue() { return myValue; } Base64BinaryType();  Base64BinaryType(byte[] theBytes);  Base64BinaryType(String theValue); @Override Base64BinaryType copy(); String fhirType(); @Override void writeExternal(ObjectOutput out); @Override void readExternal(ObjectInput in); @Override String getValueAsString(); @Override void setValueAsString(String theValue); @Override byte[] getValue(); @Override Base64BinaryType setValue(byte[] theValue); @Override boolean hasValue(); @Override boolean isEmpty(); @Override String primitiveValue(); void checkValidBase64(String toCheck);  }### Answer:
@Test @DisplayName("Valid Base64 String creates non-null instance with non-null values.") public void testValid() { String v = "dGhpcyBpcyB2YWxpZCBiYXNlNjQ="; Base64BinaryType b64 = new Base64BinaryType(v); Assertions.assertNotNull(b64); Assertions.assertNotNull(b64.getValue()); Assertions.assertEquals(v, b64.asStringValue()); }