public void testBinaryDataForBinaryVariable() {
final byte[] byteContent = "some bytes".getBytes();
MockHistoricVariableUpdateBuilder builder = MockProvider.mockHistoricVariableUpdate();
HistoricVariableUpdate detailMock = builder
.typedValue(Variables.byteArrayValue(byteContent))
.build();
when(historicDetailQueryMock.detailId(detailMock.getId())).thenReturn(historicDetailQueryMock);
when(historicDetailQueryMock.disableCustomObjectDeserialization()).thenReturn(historicDetailQueryMock);