### Question:
JmsPoolJMSProducer implements JMSProducer { @Override public byte getByteProperty(String name) { try { return convertPropertyTo(name, messageProperties.get(name), Byte.class); } catch (JMSException jmse) { throw JMSExceptionSupport.createRuntimeException(jmse); } } JmsPoolJMSProducer(JmsPoolSession session, JmsPoolMessageProducer producer); @Override String toString(); @Override JMSProducer send(Destination destination, Message message); @Override JMSProducer send(Destination destination, byte[] body); @Override JMSProducer send(Destination destination, Map<String, Object> body); @Override JMSProducer send(Destination destination, Serializable body); @Override JMSProducer send(Destination destination, String body); @Override JMSProducer clearProperties(); @Override Set<String> getPropertyNames(); @Override boolean propertyExists(String name); @Override boolean getBooleanProperty(String name); @Override byte getByteProperty(String name); @Override double getDoubleProperty(String name); @Override float getFloatProperty(String name); @Override int getIntProperty(String name); @Override long getLongProperty(String name); @Override Object getObjectProperty(String name); @Override short getShortProperty(String name); @Override String getStringProperty(String name); @Override JMSProducer setProperty(String name, boolean value); @Override JMSProducer setProperty(String name, byte value); @Override JMSProducer setProperty(String name, double value); @Override JMSProducer setProperty(String name, float value); @Override JMSProducer setProperty(String name, int value); @Override JMSProducer setProperty(String name, long value); @Override JMSProducer setProperty(String name, Object value); @Override JMSProducer setProperty(String name, short value); @Override JMSProducer setProperty(String name, String value); @Override String getJMSCorrelationID(); @Override JMSProducer setJMSCorrelationID(String correlationId); @Override byte[] getJMSCorrelationIDAsBytes(); @Override JMSProducer setJMSCorrelationIDAsBytes(byte[] correlationIdBytes); @Override Destination getJMSReplyTo(); @Override JMSProducer setJMSReplyTo(Destination replyTo); @Override String getJMSType(); @Override JMSProducer setJMSType(String type); @Override CompletionListener getAsync(); @Override JMSProducer setAsync(CompletionListener completionListener); @Override long getDeliveryDelay(); @Override JMSProducer setDeliveryDelay(long deliveryDelay); @Override int getDeliveryMode(); @Override JMSProducer setDeliveryMode(int deliveryMode); @Override boolean getDisableMessageID(); @Override JMSProducer setDisableMessageID(boolean disableMessageId); @Override boolean getDisableMessageTimestamp(); @Override JMSProducer setDisableMessageTimestamp(boolean disableTimestamp); @Override int getPriority(); @Override JMSProducer setPriority(int priority); @Override long getTimeToLive(); @Override JMSProducer setTimeToLive(long timeToLive); MessageProducer getMessageProducer();  }### Answer:
@Test public void testGetByteProperty() { JMSProducer producer = context.createProducer(); producer.setProperty(BYTE_PROPERTY_NAME, BYTE_PROPERTY_VALUE); assertEquals(BYTE_PROPERTY_VALUE, producer.getByteProperty(BYTE_PROPERTY_NAME)); }