### Question:
ConstantSurface implements Surface, ImmutableBean, Serializable { public static ConstantSurface of(String name, double zValue) { return of(SurfaceName.of(name), zValue); } private  ConstantSurface(
      SurfaceMetadata metadata,
      double zValue); static ConstantSurface of(String name, double zValue); static ConstantSurface of(SurfaceName name, double zValue); static ConstantSurface of(SurfaceMetadata metadata, double zValue); @Override int getParameterCount(); @Override double getParameter(int parameterIndex); @Override ConstantSurface withParameter(int parameterIndex, double newValue); @Override ConstantSurface withPerturbation(ParameterPerturbation perturbation); @Override double zValue(double x, double y); @Override UnitParameterSensitivity zValueParameterSensitivity(double x, double y); @Override ConstantSurface withMetadata(SurfaceMetadata metadata); static ConstantSurface.Meta meta(); @Override ConstantSurface.Meta metaBean(); @Override SurfaceMetadata getMetadata(); double getZValue(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { ConstantSurface test = ConstantSurface.of(SURFACE_NAME, VALUE); coverImmutableBean(test); ConstantSurface test2 = ConstantSurface.of("Coverage", 9d); coverBeanEquals(test, test2); }
@Test public void test_serialization() { ConstantSurface test = ConstantSurface.of(SURFACE_NAME, VALUE); assertSerialization(test); }