@Test
public void testSslQuorumProperty() {

    QuorumPeer qpMock = mock(QuorumPeer.class);
    QuorumBean qb = new QuorumBean(qpMock);
    when(qpMock.isSslQuorum()).thenReturn(true);
    assertThat("isSslQuorum property should return value of peer.isSslQuorum()", qb.isSslQuorum(), equalTo(true));
    when(qpMock.isSslQuorum()).thenReturn(false);
    assertThat("isSslQuorum property should return value of peer.isSslQuorum()", qb.isSslQuorum(), equalTo(false));
}