public void shouldFindApproveButton() { JButton approveButton = driver.approveButton(fileChooser); assertThat(approveButton).isNotNull(); assertThat(textOf(approveButton)).isEqualTo(approveButtonText(fileChooser)); }