def test_array_combine(self):
        s1 = self.app.resolve('#/definitions/s1').final
        self.assertEqual(10, s1.maxItems)
        self.assertEqual(5, s1.minItems)
        self.assertEqual('string', getattr(s1.items, 'type'))
        self.assertEqual('array', getattr(s1, 'type'))
        self.assertEqual(sorted(s1.required), sorted(["a", "b", "c", "d"]))
        self.assertEqual(sorted(s1.enum), sorted(["a", "b", "c", "d"]))
Test the open and close functionality using a file-like object.
dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/v2_0/test_aggt.py/AggregateTestCase.test_array_combine--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/file_io/encrypted_stream_io.py/RC4EncryptedStreamTest.testOpenCloseFileObject