@@ -0,0 +1,622 @@
+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 EngineerTest %7B%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenTheTeacherGoesToTraining() %7B%0A        Engineer engineer = new Engineer(%22Masha%22, 33, %22BNTU%22, %22page 8%22, 11);%0A        int experience = 2;%0A        engineer.setExperience(experience);%0A        int result = engineer.getExperience();%0A        assertThat(result, is(experience));%0A    %7D%0A%7D%0A

add class TestEngineer