### Question:
SimpleConstantContinuousBarrier implements Barrier, ImmutableBean, Serializable { public static SimpleConstantContinuousBarrier of(BarrierType barrierType, KnockType knockType, double barrierLevel) { return new SimpleConstantContinuousBarrier(barrierType, knockType, barrierLevel); } private  SimpleConstantContinuousBarrier(
      BarrierType barrierType,
      KnockType knockType,
      double barrierLevel); static SimpleConstantContinuousBarrier of(BarrierType barrierType, KnockType knockType, double barrierLevel); @Override double getBarrierLevel(LocalDate date); @Override SimpleConstantContinuousBarrier inverseKnockType(); static SimpleConstantContinuousBarrier.Meta meta(); @Override SimpleConstantContinuousBarrier.Meta metaBean(); @Override BarrierType getBarrierType(); @Override KnockType getKnockType(); double getBarrierLevel(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { SimpleConstantContinuousBarrier test1 = SimpleConstantContinuousBarrier.of(BarrierType.DOWN, KnockType.KNOCK_IN, 1.5); SimpleConstantContinuousBarrier test2 = SimpleConstantContinuousBarrier.of(BarrierType.UP, KnockType.KNOCK_OUT, 2.1); coverImmutableBean(test1); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { SimpleConstantContinuousBarrier test = SimpleConstantContinuousBarrier.of(BarrierType.DOWN, KnockType.KNOCK_IN, 1.5); assertSerialization(test); }