In addition to the @rzwitserloot reply:
If you want to test this, you can create a parameterized test that uses all possible values of your enum. If a new, not supported value is added, a MatchException will be thrown.
@ParameterizedTest
@EnumSource(DeviceType.class)
void verifyThatAllDeviceTypeValuesAreSupportedByExecute(DeviceType deviceType) {
assertDoesNotThrow(() -> testee.execute(deviceType));
}