public Subject getSubject() {
        return subject;
    }
@Test
    public void testGetSubject() throws Exception {
        final Subject subject = mock(Subject.class);
        final ShiroPrincipal shiroPrincipal = new ShiroPrincipal(subject);

        assertThat(shiroPrincipal.getSubject()).isSameAs(subject);
    }