@Test
public void id() throws Exception {

    // Given
    int subViewId = 123;
    View subView = mock(View.class);
    //noinspection ResourceType
    given(view.findViewById(subViewId))
            .willReturn(subView);
    // When
    BlueTapeDsl
            .id(subViewId,
                    functionA,
                    functionB
            )
            .bind(view);
    // Then
    InOrder inOrder = inOrder(functionA, functionB);
    inOrder.verify(functionA).bind(subView);
    inOrder.verify(functionB).bind(subView);
}