### Question:
ExpressionUtils { public static boolean isNegation(Tree tree) { return tree instanceof UnaryExpressionTree && ((UnaryExpressionTree) tree).operator() == UnaryExpressionTree.Operator.NEGATE; } private  ExpressionUtils(); static boolean isBooleanLiteral(Tree tree); static boolean isFalseValueLiteral(Tree originalTree); static boolean isTrueValueLiteral(Tree originalTree); static boolean isNegation(Tree tree); static boolean isBinaryOperation(Tree tree, BinaryExpressionTree.Operator operator); static boolean isLogicalBinaryExpression(Tree tree); static Tree skipParentheses(Tree tree); static boolean containsPlaceHolder(Tree tree); static boolean isTernaryOperator(Deque<Tree> ancestors, Tree tree); static Optional<String> getMemberSelectOrIdentifierName(Tree tree);  }### Answer:
@Test public void test_negation() { assertThat(isNegation(FALSE_LITERAL)).isFalse(); assertThat(isNegation(NUMBER_LITERAL)).isFalse(); assertThat(isNegation(TRUE_NEGATED)).isTrue(); }