@Test
public void testMarshalling() {

    SeatsSpecification spec1 = new SeatsSpecification();
    test(spec1);
    spec1.setApproximationMode(SeatsSpecification.ApproximationMode.None);
    spec1.setMethod(SeatsSpecification.EstimationMethod.KalmanSmoother);
    test(spec1);
    spec1.setSeasBoundary(0.5);
    spec1.setSeasBoundary1(0.6);
    test(spec1);
    spec1.setSeasTolerance(0);
    spec1.setTrendBoundary(.8);
    spec1.setXlBoundary(.9);
    test(spec1);
}