@Test
public void writesToSpiDeviceWhenWriting() throws Exception {

    int[] anyColors = {Color.RED, Color.DKGRAY, Color.GREEN, Color.WHITE, Color.YELLOW};
    driver.write(anyColors);
    verify(device).write(any(byte[].class), anyInt());
}