@@ -0,0 +1,1888 @@
+/*%0A * Copyright 2016 Shredder121.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.github.shredder121.gh_event_api.model;%0A%0Aimport static org.hamcrest.Matchers.is;%0A%0Apublic class TeamSerializationTest extends AbstractSerializationTest%3CTeam%3E %7B%0A%0A    private static final String SAMPLE_TEAM%0A            = %22%7B%5Cn%22%0A            + %22  %5C%22name%5C%22: %5C%22Hackers%5C%22,%5Cn%22%0A            + %22  %5C%22id%5C%22: 1919074,%5Cn%22%0A            + %22  %5C%22slug%5C%22: %5C%22hackers%5C%22,%5Cn%22%0A            + %22  %5C%22description%5C%22: %5C%22All the members%5C%22,%5Cn%22%0A            + %22  %5C%22permission%5C%22: %5C%22pull%5C%22,%5Cn%22%0A            + %22  %5C%22privacy%5C%22: %5C%22closed%5C%22,%5Cn%22%0A            + %22  %5C%22url%5C%22: %5C%22https://api.github.com/teams/1919074%5C%22,%5Cn%22%0A            + %22  %5C%22members_url%5C%22: %5C%22https://api.github.com/teams/1919074/members%7B/member%7D%5C%22,%5Cn%22%0A            + %22  %5C%22repositories_url%5C%22: %5C%22https://api.github.com/teams/1919074/repos%5C%22%5Cn%22%0A            + %22%7D%22;%0A%0A    public TeamSerializationTest() %7B%0A        super(Team.class);%0A    %7D%0A%0A    @Override%0A    protected String getSample() %7B%0A        return SAMPLE_TEAM;%0A    %7D%0A%0A    @Override%0A    protected void checkDeserialized(Team team) %7B%0A        errorCollector.checkThat(team.getName(), is(%22Hackers%22));%0A%0A        errorCollector.checkThat(team.getSlug(), is(%22hackers%22));%0A%0A        errorCollector.checkThat(team.getDescription(), is(%22All the members%22));%0A%0A        errorCollector.checkThat(team.getPermission(), is(%22pull%22));%0A    %7D%0A%7D%0A

Add serialization test for Team