         }
     }
     
+    func testStatementArgumentsNSArrayInitializerFromInvalidNSArray() {
+        let persons = [ // NSArray, because of the heterogeneous values
+            ["Arthur", NonDatabaseConvertibleObject()],
+            ["Barbara", NonDatabaseConvertibleObject()],
+            ]
+        
+        for person in persons {
+            XCTAssertNil(StatementArguments(person))
+        }
+    }
+    
     func testStatementArgumentsNSDictionaryInitializer() {
         assertNoError {
             let dbQueue = try makeDatabaseQueue()

            }
        }
    }
}

#else
    import GRDB
#endif

private class NonDatabaseConvertibleObject: NSObject
{ }

class StatementArgumentsFoundationTests: GRDBTestCase {

