### Question:
ExecutionContextImpl implements ExecutionContext, Serializable { static boolean checkIfAllAttributesExist(ExecutionContext context, Object... attrs) { if (isEmpty(attrs)) { return true; } if (context == null) { return false; } return context.getAttributes().containsAll(nullableArrayToList(attrs)); } ExecutionContextImpl();  ExecutionContextImpl(Locale locale); static ExecutionContext getRuntimeExecutionContext(ExecutionContext originalContext); static ExecutionContext getRuntimeExecutionContext(); static ExecutionContext getRestrictedRuntimeExecutionContext(ExecutionContext originalContext); static ExecutionContext getRestrictedRuntimeExecutionContext(); static boolean isRestrictedRuntimeExecutionContext(ExecutionContext context); static ExecutionContext create(Locale locale, TimeZone timeZone, Object...attrs); List getAttributes(); void setAttributes(List attrs); Locale getLocale(); void setLocale(Locale locale); TimeZone getTimeZone(); void setTimeZone(TimeZone timeZone); @Override boolean equals(Object o); @Override int hashCode(); static final String EXECUTE_OVERRIDE; }### Answer:
@Test public void checkIfAllAttributesExist_contextIsNull_returnFalse() { assertFalse(ExecutionContextImpl.checkIfAllAttributesExist(null, EXECUTE_OVERRIDE_ATTR)); }
@Test public void checkIfAllAttributesExist_contextIsNullAndInputIsNull_returnTrue() { assertTrue(ExecutionContextImpl.checkIfAllAttributesExist(null, (Object[])null)); }