@Test
public void whenCrsIsSetSalsa20ShouldReturnHeaderWithSalsa20CrsAlgorithm() {

    ByteBuffer b = ByteBuffer.allocate(4);
    b.putInt(0x02000000);
    KeePassHeader header = createHeaderAndSetValue(10, b.array());
    Assert.assertEquals(CrsAlgorithm.Salsa20, header.getCrsAlgorithm());
}