Middle East Technical University Defocusing Beam Line (METU-DBL) performs the Single Event Effects (SEEs) radiation tests with protons in the range of 15 MeV to 30 MeV kinetic energy at Turkish Atomic Energy Authority Proton Accelerator Facility (TENMAK NÜKEN-PAF) for space and nuclear applications. The most critical beam transfer elements in the METU-DBL are three quadrupole magnets, which are used for defocusing the beam like optical lenses. The first two quadrupole magnets were purchased commercially, and the third quadrupole magnet was designed by the METU-DBL project team and manufactured by Sönmez Transformer Inc. in Turkey. Electronic, mechanic and magnetic capability tests of this custom-designed magnet were conducted both at TUBITAK and CERN facilities. After passing the acceptance tests, the magnet was certified by CERN and then installed to METU-DBL as a third quadrupole magnet. In this paper, we present details of the design, production and performed tests of the quadrupole magnet.