@@ -0,0 +1,1873 @@
+package by.vorokhobko.Inheritance;%0A%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0Aimport org.junit.Test;%0A%0A/**%0A * Test.%0A *%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @version 1.%0A * @since 23.02.2017.%0A */%0A%0Apublic class ProfessionTest %7B%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenGetNewName() %7B%0A        Profession prof = new Profession(%22Nick%22, 22, %22Colorado%22, %22page 12%22, 2);%0A        String name = %22Mixail%22;%0A        prof.setName(name);%0A        String result = prof.getName();%0A        assertThat(result, is(name));%0A    %7D%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenGetNewAge() %7B%0A        Profession prof = new Profession(%22Nick%22, 22, %22Colorado%22, %22page 12%22, 2);%0A        int age = 35;%0A        prof.setAge(age);%0A        int result = prof.getAge();%0A        assertThat(result, is(age));%0A    %7D%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenGetNewUniversity() %7B%0A        Profession prof = new Profession(%22Nick%22, 22, %22Colorado%22, %22page 12%22, 2);%0A        String university = %22Novosibirsk%22;%0A        prof.setUniversity(university);%0A        String result = prof.getUniversity();%0A        assertThat(result, is(university));%0A    %7D%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenGetNewRecommendations() %7B%0A        Profession prof = new Profession(%22Nick%22, 22, %22Colorado%22, %22page 12%22, 2);%0A        String recommendations = %22page 22%22;%0A        prof.setRecommendations(recommendations);%0A        String result = prof.getRecommendations();%0A        assertThat(result, is(recommendations));%0A    %7D%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenGetNewAScore() %7B%0A        Profession prof = new Profession(%22Nick%22, 22, %22Colorado%22, %22page 12%22, 2);%0A        int aScore = 8;%0A        prof.setAScore(aScore);%0A        int result = prof.getAScore();%0A        assertThat(result, is(aScore));%0A    %7D%0A%7D%0A

add class Test Profession