// Path: app/src/main/java/br/com/catbag/gifreduxsample/asyncs/data/net/rest/riffsy/model/RiffsyGif.java
// public final class RiffsyGif {
//   @SerializedName("url")
//   private final String mUrl;
// 
//   @SerializedName("preview")
//   private final String mPreview;
// 
//   /**
//    * No args constructor for use in serialization
//    */
//   public RiffsyGif() {
//     this(new Builder());
//   }
// 
//   public RiffsyGif(Builder builder) {
//     this.mUrl = builder.mUrl;
//     this.mPreview = builder.mPreview;
//   }
// 
//   public String url() {
//     return mUrl;
//   }
// 
//   public String preview() {
//     return mPreview;
//   }
// 
//   public Builder newBuilder() {
//     return new Builder(this);
//   }
// 
//   public static class Builder {
//     private String mUrl;
//     private String mPreview;
// 
//     public Builder() {
//     }
// 
//     public Builder(RiffsyGif riffsyGif) {
//       this.mUrl = riffsyGif.mUrl;
//       this.mPreview = riffsyGif.mPreview;
//     }
// 
//     public Builder url(String url) {
//       this.mUrl = url;
//       return this;
//     }
// 
//     public Builder preview(String preview) {
//       this.mPreview = preview;
//       return this;
//     }
// 
//     public RiffsyGif build() {
//       return new RiffsyGif(this);
//     }
//   }
// }
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final String STRING_UNIQUE = UUID.randomUUID().toString();
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final String STRING_UNIQUE_2 = UUID.randomUUID().toString();
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final String STRING_UNIQUE_3 = UUID.randomUUID().toString();


import org.junit.Test;
import br.com.catbag.gifreduxsample.asyncs.data.net.rest.riffsy.model.RiffsyGif;
import static junit.framework.Assert.assertEquals;
import static shared.TestHelper.STRING_UNIQUE;
import static shared.TestHelper.STRING_UNIQUE_2;
import static shared.TestHelper.STRING_UNIQUE_3;
package br.com.catbag.gifreduxsample.reducers.asyncs.net.rest.riffsy.model;




/**
 Copyright 26/10/2016
 Felipe Piñeiro (fpbitencourt@gmail.com),
 Nilton Vasques (nilton.vasques@gmail.com) and
 Raul Abreu (raulccabreu@gmail.com)

 Be free to ask for help, email us!

 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 in compliance with the License. You may obtain a copy of the License at
 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software distributed under the License
 is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 implied. See the License for the specific language governing permissions and limitations under
 the License.
 **/
public final class RiffsyGifTest {
    private RiffsyGif mSut = new RiffsyGif.Builder()
            .url(STRING_UNIQUE)
            .preview(STRING_UNIQUE_2)
            .build();

    @Test
    public void testGetUrl() {
        assertEquals(mSut.url(), STRING_UNIQUE);
    }

    @Test
    public void testSetUrl() {
        mSut = mSut.newBuilder().url(STRING_UNIQUE_2).build();

// Path: app/src/main/java/br/com/catbag/gifreduxsample/asyncs/data/net/rest/riffsy/model/RiffsyGif.java
// public final class RiffsyGif {
//   @SerializedName("url")
//   private final String mUrl;
// 
//   @SerializedName("preview")
//   private final String mPreview;
// 
//   /**
//    * No args constructor for use in serialization
//    */
//   public RiffsyGif() {
//     this(new Builder());
//   }
// 
//   public RiffsyGif(Builder builder) {
//     this.mUrl = builder.mUrl;
//     this.mPreview = builder.mPreview;
//   }
// 
//   public String url() {
//     return mUrl;
//   }
// 
//   public String preview() {
//     return mPreview;
//   }
// 
//   public Builder newBuilder() {
//     return new Builder(this);
//   }
// 
//   public static class Builder {
//     private String mUrl;
//     private String mPreview;
// 
//     public Builder() {
//     }
// 
//     public Builder(RiffsyGif riffsyGif) {
//       this.mUrl = riffsyGif.mUrl;
//       this.mPreview = riffsyGif.mPreview;
//     }
// 
//     public Builder url(String url) {
//       this.mUrl = url;
//       return this;
//     }
// 
//     public Builder preview(String preview) {
//       this.mPreview = preview;
//       return this;
//     }
// 
//     public RiffsyGif build() {
//       return new RiffsyGif(this);
//     }
//   }
// }
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final String STRING_UNIQUE = UUID.randomUUID().toString();
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final String STRING_UNIQUE_2 = UUID.randomUUID().toString();
// 
// Path: app/src/testShared/shared/TestHelper.java
// public static final String STRING_UNIQUE_3 = UUID.randomUUID().toString();


// Path: app/src/test/java/br/com/catbag/gifreduxsample/reducers/asyncs/net/rest/riffsy/model/RiffsyGifTest.java
import org.junit.Test;
import br.com.catbag.gifreduxsample.asyncs.data.net.rest.riffsy.model.RiffsyGif;
import static junit.framework.Assert.assertEquals;
import static shared.TestHelper.STRING_UNIQUE;
import static shared.TestHelper.STRING_UNIQUE_2;
import static shared.TestHelper.STRING_UNIQUE_3;

package br.com.catbag.gifreduxsample.reducers.asyncs.net.rest.riffsy.model;




/**
 Copyright 26/10/2016
 Felipe Piñeiro (fpbitencourt@gmail.com),
 Nilton Vasques (nilton.vasques@gmail.com) and
 Raul Abreu (raulccabreu@gmail.com)

 Be free to ask for help, email us!

 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 in compliance with the License. You may obtain a copy of the License at
 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software distributed under the License
 is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 implied. See the License for the specific language governing permissions and limitations under
 the License.
 **/
public final class RiffsyGifTest {
    private RiffsyGif mSut = new RiffsyGif.Builder()
            .url(STRING_UNIQUE)
            .preview(STRING_UNIQUE_2)
            .build();

    @Test
    public void testGetUrl() {
        assertEquals(mSut.url(), STRING_UNIQUE);
    }

    @Test
    public void testSetUrl() {
        mSut = mSut.newBuilder().url(STRING_UNIQUE_2).build();

        assertEquals(mSut.url(), STRING_UNIQUE_2);