### Question:
SyntaxPreferences implements Serializable, Cloneable { public SyntaxStyle getReservedWordStyle() { return _reservedWordStyle; } SyntaxPreferences(); Object clone(); void addPropertyChangeListener(PropertyChangeListener listener); void removePropertyChangeListener(PropertyChangeListener listener); void setUseOsterTextControl(boolean data); void setUseNetbeansTextControl(boolean data); boolean getUseRSyntaxTextArea(); void setUseRSyntaxTextArea(boolean data); boolean getUsePlainTextControl(); void setUsePlainTextControl(boolean data); boolean isTextLimitLineVisible(); void setTextLimitLineVisible(boolean data); int getTextLimitLineWidth(); void setTextLimitLineWidth(int data); boolean isHighlightCurrentLine(); void setHighlightCurrentLine(boolean data); boolean isLineNumbersEnabled(); void setLineNumbersEnabled(boolean data); SyntaxStyle getCommentStyle(); void setCommentStyle(SyntaxStyle data); SyntaxStyle getDataTypeStyle(); void setDataTypeStyle(SyntaxStyle data); SyntaxStyle getErrorStyle(); void setErrorStyle(SyntaxStyle data); SyntaxStyle getFunctionStyle(); void setFunctionStyle(SyntaxStyle data); SyntaxStyle getIdentifierStyle(); void setIdentifierStyle(SyntaxStyle data); SyntaxStyle getLiteralStyle(); void setLiteralStyle(SyntaxStyle data); SyntaxStyle getTableStyle(); void setTableStyle(SyntaxStyle data); SyntaxStyle getColumnStyle(); void setColumnStyle(SyntaxStyle data); SyntaxStyle getOperatorStyle(); void setOperatorStyle(SyntaxStyle data); SyntaxStyle getReservedWordStyle(); void setReservedWordStyle(SyntaxStyle data); SyntaxStyle getSeparatorStyle(); void setSeparatorStyle(SyntaxStyle data); SyntaxStyle getWhiteSpaceStyle(); void setWhiteSpaceStyle(SyntaxStyle data); boolean isUseCopyAsRtf(); void setUseCopyAsRtf(boolean useCopyAsRtf);  }### Answer:
@Test public void testGetReservedWordStyle() throws Exception { classUnderTest.setReservedWordStyle(testStyle); assertEquals(testStyle, classUnderTest.getReservedWordStyle()); }