public void builds_schema_objects_on_the_fly_as_needed()
        {
            _schema.StorageFor(typeof (User)).ShouldNotBeNull();
            _schema.StorageFor(typeof (Issue)).ShouldNotBeNull();
            _schema.StorageFor(typeof (Company)).ShouldNotBeNull();

            using (var runner = new CommandRunner(ConnectionSource.ConnectionString))
            {
                var tables = runner.SchemaTableNames();
                tables.ShouldContain(SchemaBuilder.TableNameFor(typeof(User)).ToLower());
                tables.ShouldContain(SchemaBuilder.TableNameFor(typeof(Issue)).ToLower());
                tables.ShouldContain(SchemaBuilder.TableNameFor(typeof(Company)).ToLower());

                var functions = runner.SchemaFunctionNames();
                functions.ShouldContain(SchemaBuilder.UpsertNameFor(typeof(User)).ToLower());
                functions.ShouldContain(SchemaBuilder.UpsertNameFor(typeof(Issue)).ToLower());
                functions.ShouldContain(SchemaBuilder.UpsertNameFor(typeof(Company)).ToLower());
            }
        }