public MediaRouteDescriptorAssert hasPlaybackType(int playbackType) { isNotNull(); int actualPlaybackType = actual.getPlaybackType(); assertThat(actualPlaybackType) // .overridingErrorMessage("Expected playback type <%s> but was <%s>.", playbackType, actualPlaybackType) // .isEqualTo(playbackType); return this; }