// Path: ocpp-v1_6/src/main/java/eu/chargetime/ocpp/model/core/ClearCacheConfirmation.java
// @XmlRootElement(name = "clearCacheResponse")
// public class ClearCacheConfirmation implements Confirmation {
// 
//   private ClearCacheStatus status;
// 
//   /**
//    * @deprecated use {@link #ClearCacheConfirmation(ClearCacheStatus)} to be sure to set required
//    *     fields
//    */
//   @Deprecated
//   public ClearCacheConfirmation() {}
// 
//   /**
//    * Handle required fields.
//    *
//    * @param status the {@link ClearCacheStatus}, see {@link #setStatus(ClearCacheStatus)}
//    */
//   public ClearCacheConfirmation(ClearCacheStatus status) {
//     setStatus(status);
//   }
// 
//   /**
//    * Accepted if the Charge Point has executed the request, otherwise rejected.
//    *
//    * @return the {@link ClearCacheStatus}.
//    */
//   public ClearCacheStatus getStatus() {
//     return status;
//   }
// 
//   /**
//    * Required. Accepted if the Charge Point has executed the request, otherwise rejected.
//    *
//    * @param status the {@link ClearCacheStatus}.
//    */
//   @XmlElement
//   public void setStatus(ClearCacheStatus status) {
//     this.status = status;
//   }
// 
//   /**
//    * Accepted if the Charge Point has executed the request, otherwise rejected.
//    *
//    * @return the {@link ClearCacheStatus}.
//    */
//   @Deprecated
//   public ClearCacheStatus objStatus() {
//     return status;
//   }
// 
//   @Override
//   public boolean validate() {
//     return this.status != null;
//   }
// 
//   @Override
//   public boolean equals(Object o) {
//     if (this == o) return true;
//     if (o == null || getClass() != o.getClass()) return false;
//     ClearCacheConfirmation that = (ClearCacheConfirmation) o;
//     return status == that.status;
//   }
// 
//   @Override
//   public int hashCode() {
//     return Objects.hash(status);
//   }
// 
//   @Override
//   public String toString() {
//     return MoreObjects.toStringHelper(this)
//         .add("status", status)
//         .add("isValid", validate())
//         .toString();
//   }
// }


import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import eu.chargetime.ocpp.model.core.ClearCacheConfirmation;
import eu.chargetime.ocpp.model.core.ClearCacheStatus;
import org.junit.Before;
import org.junit.Test;
package eu.chargetime.ocpp.model.test;



/*
 * ChargeTime.eu - Java-OCA-OCPP
 *
 * MIT License
 *
 * Copyright (C) 2016-2018 Thomas Volden <tv@chargetime.eu>
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
public class ClearCacheConfirmationTest {
  ClearCacheConfirmation confirmation;

  @Before
  public void setUp() throws Exception {
// Path: ocpp-v1_6/src/main/java/eu/chargetime/ocpp/model/core/ClearCacheConfirmation.java
// @XmlRootElement(name = "clearCacheResponse")
// public class ClearCacheConfirmation implements Confirmation {
// 
//   private ClearCacheStatus status;
// 
//   /**
//    * @deprecated use {@link #ClearCacheConfirmation(ClearCacheStatus)} to be sure to set required
//    *     fields
//    */
//   @Deprecated
//   public ClearCacheConfirmation() {}
// 
//   /**
//    * Handle required fields.
//    *
//    * @param status the {@link ClearCacheStatus}, see {@link #setStatus(ClearCacheStatus)}
//    */
//   public ClearCacheConfirmation(ClearCacheStatus status) {
//     setStatus(status);
//   }
// 
//   /**
//    * Accepted if the Charge Point has executed the request, otherwise rejected.
//    *
//    * @return the {@link ClearCacheStatus}.
//    */
//   public ClearCacheStatus getStatus() {
//     return status;
//   }
// 
//   /**
//    * Required. Accepted if the Charge Point has executed the request, otherwise rejected.
//    *
//    * @param status the {@link ClearCacheStatus}.
//    */
//   @XmlElement
//   public void setStatus(ClearCacheStatus status) {
//     this.status = status;
//   }
// 
//   /**
//    * Accepted if the Charge Point has executed the request, otherwise rejected.
//    *
//    * @return the {@link ClearCacheStatus}.
//    */
//   @Deprecated
//   public ClearCacheStatus objStatus() {
//     return status;
//   }
// 
//   @Override
//   public boolean validate() {
//     return this.status != null;
//   }
// 
//   @Override
//   public boolean equals(Object o) {
//     if (this == o) return true;
//     if (o == null || getClass() != o.getClass()) return false;
//     ClearCacheConfirmation that = (ClearCacheConfirmation) o;
//     return status == that.status;
//   }
// 
//   @Override
//   public int hashCode() {
//     return Objects.hash(status);
//   }
// 
//   @Override
//   public String toString() {
//     return MoreObjects.toStringHelper(this)
//         .add("status", status)
//         .add("isValid", validate())
//         .toString();
//   }
// }


// Path: ocpp-v1_6/src/test/java/eu/chargetime/ocpp/model/test/ClearCacheConfirmationTest.java
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import eu.chargetime.ocpp.model.core.ClearCacheConfirmation;
import eu.chargetime.ocpp.model.core.ClearCacheStatus;
import org.junit.Before;
import org.junit.Test;

package eu.chargetime.ocpp.model.test;



/*
 * ChargeTime.eu - Java-OCA-OCPP
 *
 * MIT License
 *
 * Copyright (C) 2016-2018 Thomas Volden <tv@chargetime.eu>
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
public class ClearCacheConfirmationTest {
  ClearCacheConfirmation confirmation;

  @Before
  public void setUp() throws Exception {
    confirmation = new ClearCacheConfirmation();