@Test
public void cos_missing_value() {

  FunctionExpression cos = dsl.cos(DSL.ref(DOUBLE_TYPE_MISSING_VALUE_FIELD, DOUBLE));
  assertEquals(DOUBLE, cos.type());
  assertTrue(cos.valueOf(valueEnv()).isMissing());
}